package main

import "fmt"

func main() {
	//a := [8]int{0, 1, 2, 3, 4, 5, 6, 7}
	//s1 := a[1:5]
	//fmt.Println(cap(s1))
	//s2 := append(s1,3,4,5,56,6,7,78,8)
	//fmt.Println(s2,cap(s2))


	practice()
}

func practice()  {
	var a = make([]int, 5, 10)
	fmt.Println(a)
	for i := 0; i < 10; i++ {
		a = append(a, i)
	}
	fmt.Println(a)

}
